/*
 * @Descripttion: 漏斗图 json
 * @version:
 * @Author: qianlishi
 * @Date: 2021-08-29 07:29:23
 * @LastEditors: qianlishi
 * @LastEditTime: 2021-09-28 14:12:37
 */
export const widgetFlashPoint = {   //对象名称必改
  code: 'widget-flash-point',            //控件编号必改
  type: 'html',                                  //类型是html或者chart
  label: '热点',                                  //控件在设计期里面的名称
  icon: 'iconvcsshijuejisuanfuwu',                   //使用的图标和样式，这是阿里的图标库导出的文件里面的图标可以在文件系统打开src/assets/iconfont/demo_index.html选择。
  options: {
    // 配置
    setup: [
      {
        type: 'el-input-text',
        label: '图层名称',
        name: 'layerName',
        required: false,
        placeholder: '',
        value: '热点',
      },
      {
        type: 'el-input-text',
        label: '文本内容',
        name: 'text',
        required: false,
        placeholder: '',
        value: '我的热点',
      },
      {
        type: 'vue-color',
        label: '热点颜色',
        name: 'color',
        required: false,
        placeholder: '',
        value: '#31E5FA',
      },
    ],
    // 数据
    data: [],
    // 坐标
    position: [
      {
        type: 'el-input-number',
        label: '左边距',
        name: 'left',
        required: false,
        placeholder: '',
        value: 0,
      },
      {
        type: 'el-input-number',
        label: '上边距',
        name: 'top',
        required: false,
        placeholder: '',
        value: 0,
      },
      {
        type: 'el-input-number',
        label: '宽度/高度',
        name: 'width',
        required: false,
        placeholder: '该容器在1920px大屏中的宽度',
        value: 40,
      }
    ],
  }
}
